﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Sys
{
   public class Sys_RoleModel
    {
       public Sys_RoleModel()
		{}
		#region Model
		private int _id;
		private int _viewdel=0;
		private int _viewflag=0;
		private int _enterpriseid=0;
		private string _rolename="";
		private string _menuid;
		private string _remark="";
		private int? _sequence=99999;
		private int _createloginid;
		private string _createloginname;
		private DateTime _createdate= DateTime.Now;
		private int _changeloginid;
		private string _changeloginname;
		private DateTime _changedate;
        private string _name;
        private int _roleType;
        private string _organizationtypes;
        private int _level;

        
        /// <summary>
        /// 角色类型
        /// </summary>
        public int RoleType
            {
                set { _roleType = value; }
                get { return _roleType; }
            }

		/// <summary>
		/// 角色Id
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 删除状态：0未删除1已删除
		/// </summary>
		public int ViewDel
		{
			set{ _viewdel=value;}
			get{return _viewdel;}
		}
		/// <summary>
		/// 状态显示(0停用，1启用)
		/// </summary>
		public int ViewFlag
		{
			set{ _viewflag=value;}
			get{return _viewflag;}
		}
		/// <summary>
		/// 公司ID
		/// </summary>
		public int EnterpriseId
		{
			set{ _enterpriseid=value;}
			get{return _enterpriseid;}
		}
		/// <summary>
		/// 角色名称
		/// </summary>
		public string RoleName
		{
			set{ _rolename=value;}
			get{return _rolename;}
		}
		/// <summary>
		/// 菜单ID
		/// </summary>
		public string MenuId
		{
			set{ _menuid=value;}
			get{return _menuid;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string Remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 排序
		/// </summary>
		public int? Sequence
		{
			set{ _sequence=value;}
			get{return _sequence;}
		}
		/// <summary>
		/// 创建登录ID
		/// </summary>
		public int CreateLoginID
		{
			set{ _createloginid=value;}
			get{return _createloginid;}
		}
		/// <summary>
		/// 创建登录名
		/// </summary>
		public string CreateLoginName
		{
			set{ _createloginname=value;}
			get{return _createloginname;}
		}
		/// <summary>
		/// 创建 时间
		/// </summary>
		public DateTime CreateDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 修改登录ID
		/// </summary>
		public int ChangeLoginID
		{
			set{ _changeloginid=value;}
			get{return _changeloginid;}
		}
		/// <summary>
		/// 修改登录名
		/// </summary>
		public string ChangeLoginName
		{
			set{ _changeloginname=value;}
			get{return _changeloginname;}
		}
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime ChangeDate
		{
			set{ _changedate=value;}
			get{return _changedate;}
		}
        public string Name
		{
			set{ _name=value;}
			get{return _name;}
		}

        /// <summary>
        /// 机构类型
        /// </summary>
        public string OrganizationTypes
        {
            set { _organizationtypes = value; }
            get { return _organizationtypes; }
        }

        /// <summary>
        /// 等级
        /// </summary>
        public int Level
        {
            set { _level = value; }
            get { return _level; }
        }
        #endregion Model

    }
}
